// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FA_MANUFACTURER_HISTORY
// * CreateDate    : 2012/3/12 17:00:34
// * Creater       : CodeSmith
// * LastChangeDate: 2012/3/12 17:00:34
// * LastChanger   : 2012/3/12 17:00:34
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FaManufacturerHistoryTable : TableInfo
    {
		public const string C_TableName = "FA_MANUFACTURER_HISTORY";
		
		public const string C_HISTORY_ID = "HISTORY_ID";
		public const string C_ASSET_ID = "ASSET_ID";
		public const string C_MAINTAIN_ITEM = "MAINTAIN_ITEM";
		public const string C_MAINTAIN_DATE = "MAINTAIN_DATE";
		public const string C_MAINTAIN_COMPANY = "MAINTAIN_COMPANY";
		public const string C_MAINTAIN_PERSON = "MAINTAIN_PERSON";
		public const string C_MAINTAIN_FEE = "MAINTAIN_FEE";
		public const string C_REMARK = "REMARK";
		
		public FaManufacturerHistoryTable()
        {
            _tableName = "FA_MANUFACTURER_HISTORY";
        }
		
		protected static FaManufacturerHistoryTable _current;
        public static FaManufacturerHistoryTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FaManufacturerHistoryTable();

            _current.Add(C_HISTORY_ID, new ColumnInfo(C_HISTORY_ID,"HistoryId", true, typeof(string)));
            _current.Add(C_ASSET_ID, new ColumnInfo(C_ASSET_ID,"AssetId", false, typeof(string)));
            _current.Add(C_MAINTAIN_ITEM, new ColumnInfo(C_MAINTAIN_ITEM,"MaintainItem", false, typeof(string)));
            _current.Add(C_MAINTAIN_DATE, new ColumnInfo(C_MAINTAIN_DATE,"MaintainDate", false, typeof(DateTime)));
            _current.Add(C_MAINTAIN_COMPANY, new ColumnInfo(C_MAINTAIN_COMPANY,"MaintainCompany", false, typeof(string)));
            _current.Add(C_MAINTAIN_PERSON, new ColumnInfo(C_MAINTAIN_PERSON,"MaintainPerson", false, typeof(string)));
            _current.Add(C_MAINTAIN_FEE, new ColumnInfo(C_MAINTAIN_FEE,"MaintainFee", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo HISTORY_ID
        {
            get { return this[C_HISTORY_ID]; }
        }
		
		public ColumnInfo ASSET_ID
        {
            get { return this[C_ASSET_ID]; }
        }
		
		public ColumnInfo MAINTAIN_ITEM
        {
            get { return this[C_MAINTAIN_ITEM]; }
        }
		
		public ColumnInfo MAINTAIN_DATE
        {
            get { return this[C_MAINTAIN_DATE]; }
        }
		
		public ColumnInfo MAINTAIN_COMPANY
        {
            get { return this[C_MAINTAIN_COMPANY]; }
        }
		
		public ColumnInfo MAINTAIN_PERSON
        {
            get { return this[C_MAINTAIN_PERSON]; }
        }
		
		public ColumnInfo MAINTAIN_FEE
        {
            get { return this[C_MAINTAIN_FEE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

